package com.lyhw.model;

import java.io.Serializable;
import java.sql.Timestamp;
public class Comment implements Serializable{
	private String id;						//评论id
	private String authorid;			//评论人id
	private String objectid;			//评论物id
	private String content;			//评论内容
	private Timestamp comtime;			//评论时间
	private int del;				//是否删除

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAuthorid() {
		return authorid;
	}
	public void setAuthorid(String authorid) {
		this.authorid = authorid;
	}
	public String getObjectid() {
		return objectid;
	}
	public void setObjectid(String objectid) {
		this.objectid = objectid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public long getComtime() {
		return comtime.getTime();
	}
	public void setComtime(Timestamp comtime) {
		this.comtime = comtime;
	}
	public void setComtime(long comtime){this.comtime = new Timestamp(comtime);}
	public void setDel(int del){this.del = del;}
	public int getDel(){return this.del;}

	public Comment(){}//jpa
}
